package com.javacoo.xservice.base.support.event.handler;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

import com.javacoo.xservice.base.support.event.TransCompleteEvent;

import lombok.extern.slf4j.Slf4j;

/**
 * 交易完成事件处理
 * <p>说明:</p>
 * <li>交易完成事件:TransCompleteEvent,为异步事件</li>
 * @author DuanYong
 * @since 2017年7月3日上午10:05:53
 */
@Slf4j
@Component
public class TransCompleteEventHandler implements ApplicationListener<TransCompleteEvent> {
	@Override
    public void onApplicationEvent(TransCompleteEvent event) {
	    log.info("交易完成事件处理:{}",event);
    }
}
